package com.community.service;

import com.community.common.ServerResponse;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;


public interface IIntegralService {

    ServerResponse<Integer> selectSurplusByUserName(String userName, HttpServletRequest request);

    ServerResponse<String> transaction(String incomeUser,
                                        String expenditureUser,double nums,String inRemarks,
                                        String expRemarks);
    ServerResponse<PageInfo> selectIntegralByUserName(int pageNum, String order, String userName);
}
